package com.wsd.smartcarwasher.constans;

import com.wsd.smartcarwasher.util.DateUtil;

import java.io.File;
import java.util.Date;

public class Constant
{
    public static final String DOMAIN = "https://www.snail-tech.cn/";

//    public static final String DOMAIN = "http://39.96.5.74:10086/";
//    客户服务器测试管理端
//    public static final String RUNNER_DOMAIN = "http://mwxc.snail-tech.cn/";
    public static final String RUNNER_DOMAIN = "http://mwxcweb.rungyun.cn/";

//    public static final String DOMAIN = "http://27732w4u32.zicp.vip/";
//    public static final String RUNNER_DOMAIN = "http://manwoweb.rungyun.cn/";
//    public static final String DOMAIN = "http://127.0.0.1:8090/";
//    public static final String RUNNER_DOMAIN = "http://192.168.1.7:8080/";
//  正式服
    public static final String APP_ID = "wxed9c04d05ab849f9";
    public static final String APP_SECRET = "35e1117ac1483ceab570bf051bfca05c";
//  小测试
//    public static final String APP_ID = "wx128b32fcc80e351a";
//    public static final String APP_SECRET = "7674726d91b00e8025db6f6a0688213a";
    //正式服
    public static final String OFFICIAL_APP_ID = "wxf7aefa0d866e258b";
    public static final String OFFICIAL_APP_SECRET = "3c093c837fbf49b3e43b807719a5a855";
//    测试号
//    public static final String OFFICIAL_APP_ID = "wx9b4d1df827d63927";
//    public static final String OFFICIAL_APP_SECRET = "6cf74e92a1fe0d9bea519c424e1d93d2";


    public static final String APP_KEY = "woniuzhinengkejiyouxiangongsi000";
    public static final String MCH_ID = "1532344341";
    public static final String URL_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    public static final String URL_NOTIFY = DOMAIN+"/v1/pay/call_back";
    public static final String CHARGE_URL_NOTIFY = DOMAIN+"/v1/charge/call_back";
    public static final String URL_REFUND_NOTIFY_URL = DOMAIN+"/v1/rerund/call_back";
    public static final String TIME_FORMAT = "yyyyMMddHHmmss";
    public static final int TIME_EXPIRE = 2;
    public static final String FILE_PATH_PREFIX = "/usr/local/smartwash/uploadFile";
    public static final String IMAGE_PATH_PREFIX = "/usr/local/smartwash/image/";
//    public static final String IMAGE_PATH_PREFIX = "D://";
    public static final int STOP_FLAG = 0;
    public static final int START_FLAG = 1;
    public static final String USE_DIR = System.getProperty("user.dir") + File.separator + "smartwashImages" + File.separator;
    public static final String CERT_PATH = System.getProperty("user.dir") + File.separator + "G4bnAC1z" + File.separator + "apiclient_cert.p12";
    public static final String IP_ADDR = "39.96.5.74";
    public static final String WITHDRAW_URL = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
    public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";  //退款接口
    public static final String SMS_TEMPLATE_CARD = "SMS_185210779";
    public static final String SMS_TEMPLATE_COUPON = "SMS_185245700";

    public static final String YSAPPKey = "60dd9d0b967e430fbd24c587318907f9";
    public static final String YSAPPSecret = "efc9e6319431fe9e143870db4836f2d5";


//public class Constant
//{
//    public static final String DOMAIN = "http://manwo.rungyun.cn/";
//    public static final String RUNNER_DOMAIN = "http://manwoweb.rungyun.cn/";
//    public static final String APP_ID = "wx128b32fcc80e351a";
//    public static final String APP_SECRET = "7674726d91b00e8025db6f6a0688213a";
//    public static final String OFFICIAL_APP_ID = "wxf7aefa0d866e258b";
//    public static final String OFFICIAL_APP_SECRET = "3c093c837fbf49b3e43b807719a5a855";
//    public static final String APP_KEY = "woniuzhinengkejiyouxiangongsi000";
//    public static final String MCH_ID = "1532344341";
//    public static final String URL_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";
//    public static final String URL_NOTIFY = "http://manwo.rungyun.cn//v1/pay/call_back";
//    public static final String TIME_FORMAT = "yyyyMMddHHmmss";
//    public static final int TIME_EXPIRE = 2;
//    public static final String FILE_PATH_PREFIX = "/usr/local/smartwash/uploadFile";
//    public static final int STOP_FLAG = 0;
//    public static final int START_FLAG = 1;
//    public static final String USE_DIR = System.getProperty("user.dir") + File.separator + "smartwashImages" + File.separator;
//    public static final String CERT_PATH = System.getProperty("user.dir") + File.separator + "G4bnAC1z" + File.separator + "apiclient_cert.p12";
//    public static final String IP_ADDR = "39.96.5.74";
//    public static final String WITHDRAW_URL = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
//    public static final String SMS_TEMPLATE_CARD = "SMS_185210779";
//    public static final String SMS_TEMPLATE_COUPON = "SMS_185245700";
}